package com.zhang.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * 描述:用户信息文档实体
 *
 * @author Zhao
 * @create 2022-04-15 0:41
 */
@Data
@Builder
@AllArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = 1360248457562812064L;

    /**
     * 用户id
     */
    private String uid;
    /**
     * 用户名
     */
    private String uname;
    /**
     * 用户年龄
     */
    private Integer age;
    /**
     * 薪水
     */
    private BigDecimal salary;
}
